﻿using System.Data;
using System.Collections.Generic;

namespace T.FAS.Runtime.DataAccess.Engine
{
    /// <summary>
    /// 修改类型DataTables分类实体
    /// </summary>
    public class UpdateDataContextSourceData
    {
        /// <summary>
        /// update数据集合，key:cno.ID value:ChangeSet实例
        /// </summary>
        public Dictionary<string, List<UpdateChangeSet>> UpdateData = new Dictionary<string, List<UpdateChangeSet>>();

        /// <summary>
        /// insert数据集合
        /// </summary>
        public List<DataTable> InsertData { get; set; } = new List<DataTable>();

        /// <summary>
        /// delete数据集合
        /// </summary>
        public Dictionary<string, List<object>> DeleteData = new Dictionary<string, List<object>>();
    }
}
